package com.apexsoft.margin.account.management.domain.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 预分配（预锁）批量20200402.xls
 * 批量导入demo
 * javaBEan
 */
@TableName("T_PREDISTRIBUTION")
public class DistributionDataDomain {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ExcelProperty("处理")
    @TableField("result_code")
    private Integer resultCode; // 1: true ; 0:false

    @ExcelProperty("存在与否")
    private Integer exist; // 1:true ; 0:false

    @TableField("result_note")
    private String resultNote;

    @TableField("file_code")
    private String fileCode;


    @ExcelProperty("系统日期（应为录入预分配记录的日期，可否系统自动填充）")
//    private int sysdate ; // 系统日期
    private int ststem_date ; // 系统日期
    @ExcelProperty("机构代码")
    private String brhid; // 机构编码-》机构代码
//    private char[] brhid;
    @ExcelProperty("客户代码")
    private String custid;
    @ExcelProperty("资金账号")
    private String fundid;
    @ExcelProperty("交易市场")
    private String market;
    @ExcelProperty("证券账号")
    private String secuid;
    @ExcelProperty("证券代码")
    private String stkcode;
    @ExcelProperty("预分配数量")
    private int prelockqty;
    @ExcelProperty("券源来源")
    private String sourcetype;
    @ExcelProperty("起始日期")
    private int begindate; // 没找到起始日期，暂时写了生效日期
    @ExcelProperty("结束日期")
    private int closedate; // 没找到结束日期，暂时写了截止日期
    @ExcelProperty("回收类型")
    private String backtype;
    @ExcelProperty("有效标志")
    private String dealflag; // 没找到有效标志，暂时写了处理标识
    @ExcelProperty("状态")
    private String hsstatus; // 没有找到状态，暂时使用回收状态
    @ExcelProperty("锁券类型")
    private String locktype;
    @ExcelProperty("已使用费率")
    private int usedfeerate; // 没找到已使用费率，暂时使用 锁券已使用费率
    @ExcelProperty("锁券占用费率")
//    private int usedunusedfeerate;
    private int unusedfeerate;
    @ExcelProperty("违约费率")
    private Double violatefeerate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public Integer getExist() {
        return exist;
    }

    public void setExist(Integer exist) {
        this.exist = exist;
    }

    public String getResultNote() {
        return resultNote;
    }

    public void setResultNote(String resultNote) {
        this.resultNote = resultNote;
    }

    public String getFileCode() {
        return fileCode;
    }

    public void setFileCode(String fileCode) {
        this.fileCode = fileCode;
    }

    public int getStstem_date() {
        return ststem_date;
    }

    public void setStstem_date(int ststem_date) {
        this.ststem_date = ststem_date;
    }

    public String getBrhid() {
        return brhid;
    }

    public void setBrhid(String brhid) {
        this.brhid = brhid;
    }

    public String getCustid() {
        return custid;
    }

    public void setCustid(String custid) {
        this.custid = custid;
    }

    public String getFundid() {
        return fundid;
    }

    public void setFundid(String fundid) {
        this.fundid = fundid;
    }

    public String getMarket() {
        return market;
    }

    public void setMarket(String market) {
        this.market = market;
    }

    public String getSecuid() {
        return secuid;
    }

    public void setSecuid(String secuid) {
        this.secuid = secuid;
    }

    public String getStkcode() {
        return stkcode;
    }

    public void setStkcode(String stkcode) {
        this.stkcode = stkcode;
    }

    public int getPrelockqty() {
        return prelockqty;
    }

    public void setPrelockqty(int prelockqty) {
        this.prelockqty = prelockqty;
    }

    public String getSourcetype() {
        return sourcetype;
    }

    public void setSourcetype(String sourcetype) {
        this.sourcetype = sourcetype;
    }

    public int getBegindate() {
        return begindate;
    }

    public void setBegindate(int begindate) {
        this.begindate = begindate;
    }

    public int getClosedate() {
        return closedate;
    }

    public void setClosedate(int closedate) {
        this.closedate = closedate;
    }

    public String getBacktype() {
        return backtype;
    }

    public void setBacktype(String backtype) {
        this.backtype = backtype;
    }

    public String getDealflag() {
        return dealflag;
    }

    public void setDealflag(String dealflag) {
        this.dealflag = dealflag;
    }

    public String getHsstatus() {
        return hsstatus;
    }

    public void setHsstatus(String hsstatus) {
        this.hsstatus = hsstatus;
    }

    public String getLocktype() {
        return locktype;
    }

    public void setLocktype(String locktype) {
        this.locktype = locktype;
    }

    public int getUsedfeerate() {
        return usedfeerate;
    }

    public void setUsedfeerate(int usedfeerate) {
        this.usedfeerate = usedfeerate;
    }

    public int getUnusedfeerate() {
        return unusedfeerate;
    }

    public void setUnusedfeerate(int unusedfeerate) {
        this.unusedfeerate = unusedfeerate;
    }

    public Double getViolatefeerate() {
        return violatefeerate;
    }

    public void setViolatefeerate(Double violatefeerate) {
        this.violatefeerate = violatefeerate;
    }
}
